package response

import "time"

type Response struct {
	At     int64       `json:"at"`
	Code   int         `json:"code"`
	Result interface{} `json:"result,omitempty"`
}

// NewResponse
func NewResponse() *Response {
	return &Response{
		At:   time.Now().Unix(),
		Code: 200,
	}
}
